package cn.gov.nanhai.commonssys.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ${董荣盛}
 * @创建时间 2021/4/18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "collect_task")
@ApiModel(value="创建计划对象")
public class CollectTask {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键编号")
    private Long collectTaskId;

    @ApiModelProperty(value = "计划编号")
    private Long collectTaskPlanId;

    @ApiModelProperty(value = "采集的镇")
    private Long collectTaskTownId;

    @ApiModelProperty(value = "采集的村")
    private Long collectTaskVillageId;




    @Override
    public String toString() {
        return "CollectTask{" +
                "collectTaskId=" + collectTaskId +
                ", collectTaskPlanId=" + collectTaskPlanId +
                ", collectTaskTownId=" + collectTaskTownId +
                ", collectTaskVillageId=" + collectTaskVillageId +
                '}';
    }

}
